export OSTYPE && make -C ./src.cpp/ 
make[1]: Entering directory '/z/prog/obrazky/final/src.cpp'
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c gconvert.cc  -o release/gconvert.o  -I./img_RW
In file included from image.h:11,
                 from gconvert.cc:15:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
In file included from gconvert.cc:21:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
gconvert.cc: In member function 'virtual void ResizePercentImageFilter::ProcessFilter(Image*)':
gconvert.cc:465:40: warning: unknown conversion type character ']' in format [-Wformat=]
  465 |  if(Verbosity>=0) printf("\rResize %f[%] ", Percent);
      |                                        ^
gconvert.cc: In function 'int main(int, char**)':
gconvert.cc:1215:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1215 |   for(i=0; i<SaveParams.PropCount; i++)
      |            ~^~~~~~~~~~~~~~~~~~~~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c filter.cc  -o release/filter.o  -I./img_RW
In file included from image.h:11,
                 from filter.cc:15:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
In file included from filter.cc:19:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c gcomp.cc  -o release/gcomp.o  -I./img_RW
In file included from image.h:11,
                 from gcomp.cc:14:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
In file included from gcomp.cc:17:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c histfix.cc  -o release/histfix.o  -I./img_RW
In file included from image.h:11,
                 from histfix.cc:12:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
In file included from histfix.cc:19:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c ras_img.cc  -o release/ras_img.o  -I./img_RW
In file included from ras_img.cc:27:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
In file included from ras_img.cc:28:
vecimage.h:354:16: warning: 'virtual void VectorList::Export2EPS(FILE*, PS_State*) const' was hidden [-Woverloaded-virtual=]
  354 |   virtual void Export2EPS(FILE *F, PS_State *PSS=NULL) const;
      |                ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
vecimage.h:353:23: warning: 'virtual string VectorList::Export2EPS(PS_State*) const' was hidden [-Woverloaded-virtual=]
  353 |   virtual temp_string Export2EPS(PS_State *PSS=NULL) const;
      |                       ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
In file included from ras_img.cc:38:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
ras_img.cc: In function 'int SavePictureEPS(const char*, const Image&)':
ras_img.cc:1548:13: warning: enumeration value 'ImagePaletteF' not handled in switch [-Wswitch]
 1548 |       switch(CurrImg->ImageType())
      |             ^
ras_img.cc:1548:13: warning: enumeration value 'ImageReal' not handled in switch [-Wswitch]
ras_img.cc:1548:13: warning: enumeration value 'ImageSigned' not handled in switch [-Wswitch]
ras_img.cc: In function 'Image LoadPictureFITS(const char*)':
ras_img.cc:1817:15: warning: enumeration value 'ExtensionData' not handled in switch [-Wswitch]
 1817 |         switch(ParseStatus)
      |               ^
ras_img.cc:1817:15: warning: enumeration value 'ExtensionBinData' not handled in switch [-Wswitch]
ras_img.cc:1866:12: warning: enumeration value 'ExtensionData' not handled in switch [-Wswitch]
 1866 |      switch(ParseStatus)
      |            ^
ras_img.cc:1866:12: warning: enumeration value 'ExtensionBinData' not handled in switch [-Wswitch]
ras_img.cc: In function 'Image LoadPictureTIFF(const char*)':
ras_img.cc:5634:23: warning: variable 'PlanarCfg' set but not used [-Wunused-but-set-variable]
 5634 | uint16_t RowsPerStrip,PlanarCfg;
      |                       ^~~~~~~~~
ras_img.cc:5642:10: warning: variable 'EXIFOffset' set but not used [-Wunused-but-set-variable]
 5642 | uint32_t EXIFOffset=0;
      |          ^~~~~~~~~~
ras_img.cc: In function 'int SavePictureTIFF(const char*, const Image&)':
ras_img.cc:6106:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
 6106 |                 for(i=0; i<ldblk; i++)
      |                          ~^~~~~~
ras_img.cc:6110:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
 6110 |                 for(i=0; i<ldblk; i++)
      |                          ~^~~~~~
ras_img.cc:6114:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
 6114 |                 for(i=0; i<ldblk; i++)
      |                          ~^~~~~~
ras_img.cc: In function 'int SavePictureVIF(const char*, const Image&)':
ras_img.cc:7420:15: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long long unsigned int'} [-Wsign-compare]
 7420 |         if(sz != RowSZ)
      |            ~~~^~~~~~~~
ras_img.cc: In function 'Image LoadPictureWBMP(const char*)':
ras_img.cc:7491:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
 7491 |     if(fread(Img.Raster->GetRow(y),1,i,f)!=i) break;
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
ras_img.cc: In function 'int UnpackWPGRaster(Raster2DAbstract*, FILE*)':
ras_img.cc:8184:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 8184 |                         if(y>=Raster->Size2D) BObrPos=(uint8_t *)Raster->GetRow(0);
      |                         ^~
ras_img.cc:8185:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 8185 |                                               BObrPos=(uint8_t *)Raster->GetRow(y);
      |                                               ^~~~~~~
ras_img.cc: In function 'int UnpackWPG2Raster(Raster2DAbstract*, FILE*)':
ras_img.cc:8273:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 8273 |                         if(y>=Raster->Size2D) BObrPos=(uint8_t *)Raster->GetRow(0);
      |                         ^~
ras_img.cc:8274:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 8274 |                                               BObrPos=(uint8_t *)Raster->GetRow(y);
      |                                               ^~~~~~~
ras_img.cc: In function 'Image LoadPictureXPM3(const char*)':
ras_img.cc:9619:49: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 9619 |        chLine = DecodingArea + CharsPerPixel*((i>j) ? i : j);           // Max from minims.
      |                                                ~^~
ras_img.cc:9622:62: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 9622 |        const char *EndLine = DecodingArea + CharsPerPixel*((i<j) ? i : j);      // Min from maxims.
      |                                                             ~^~
In function 'int InsertRowHDU(char*, const char*)',
    inlined from 'int InsertRowHDU(char*, const char*)' at ras_img.cc:1976:12,
    inlined from 'int SavePictureFITS(const char*, const Image&)' at ras_img.cc:2046:15:
ras_img.cc:1985:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 30 bytes from a string of the same length [-Wstringop-truncation]
 1985 |   (void)strncpy(buffer,data,len);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~
In function 'int InsertRowHDU(char*, const char*)',
    inlined from 'int InsertRowHDU(char*, const char*)' at ras_img.cc:1976:12,
    inlined from 'int SavePictureFITS(const char*, const Image&)' at ras_img.cc:2061:17:
ras_img.cc:1985:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 28 bytes from a string of the same length [-Wstringop-truncation]
 1985 |   (void)strncpy(buffer,data,len);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~
In function 'int InsertRowHDU(char*, const char*)',
    inlined from 'int InsertRowHDU(char*, const char*)' at ras_img.cc:1976:12,
    inlined from 'int SavePictureFITS(const char*, const Image&)' at ras_img.cc:2051:17:
ras_img.cc:1985:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 28 bytes from a string of the same length [-Wstringop-truncation]
 1985 |   (void)strncpy(buffer,data,len);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~
In function 'int InsertRowHDU(char*, const char*)',
    inlined from 'int InsertRowHDU(char*, const char*)' at ras_img.cc:1976:12,
    inlined from 'int SavePictureFITS(const char*, const Image&)' at ras_img.cc:2106:15:
ras_img.cc:1985:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 28 bytes from a string of the same length [-Wstringop-truncation]
 1985 |   (void)strncpy(buffer,data,len);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~
In function 'int InsertRowHDU(char*, const char*)',
    inlined from 'int InsertRowHDU(char*, const char*)' at ras_img.cc:1976:12,
    inlined from 'int SavePictureFITS(const char*, const Image&)' at ras_img.cc:2107:15:
ras_img.cc:1985:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
 1985 |   (void)strncpy(buffer,data,len);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~
ras_img.cc: In function 'int SavePicturePDB(const char*, const Image&)':
ras_img.cc:3721:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation]
 3721 |   strncpy(HDR.name,Name,sizeof(HDR.name));
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ras_img.cc:3742:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation]
 3742 |   strncpy(IMG.name,Name,sizeof(IMG.name));
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ras_img.cc: In function 'int SavePictureVIF(const char*, const Image&)':
ras_img.cc:7344:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation]
 7344 |     strncpy(hdr.Comment, (const char *)PropComment->Data, sizeof(hdr.Comment));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ras_img.cc: In function 'Image LoadPictureXPM3(const char*)':
ras_img.cc:9613:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 9613 |          ch[j] = CReader.GetWrappedChar();
      |          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
ras_img.cc:9602:9: note: at offset 4 into destination object 'ch' of size 4
 9602 |    char ch[4];
      |         ^~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c ras_bmp.cc  -o release/ras_bmp.o  -I./img_RW
In file included from image.h:11,
                 from ras_bmp.cc:12:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
ras_bmp.cc: In function 'int SavePictureDIB(const char*, const Image&)':
ras_bmp.cc:992:10: warning: enumeration value 'ImageNone' not handled in switch [-Wswitch]
  992 |    switch(Img.ImageType())
      |          ^
ras_bmp.cc:992:10: warning: enumeration value 'ImagePaletteF' not handled in switch [-Wswitch]
ras_bmp.cc:992:10: warning: enumeration value 'ImageReal' not handled in switch [-Wswitch]
ras_bmp.cc:992:10: warning: enumeration value 'ImageSigned' not handled in switch [-Wswitch]
ras_bmp.cc: In function 'int SavePictureBMP(const char*, const Image&)':
ras_bmp.cc:1079:10: warning: enumeration value 'ImageNone' not handled in switch [-Wswitch]
 1079 |    switch(CurrImg->ImageType())
      |          ^
ras_bmp.cc:1079:10: warning: enumeration value 'ImagePaletteF' not handled in switch [-Wswitch]
ras_bmp.cc:1079:10: warning: enumeration value 'ImageReal' not handled in switch [-Wswitch]
ras_bmp.cc:1079:10: warning: enumeration value 'ImageSigned' not handled in switch [-Wswitch]
ras_bmp.cc: In function 'Image LoadPictureCUR(const char*)':
ras_bmp.cc:1333:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 1333 |    if(Prop)
      |      ^
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c ras_ftg.cc  -o release/ras_ftg.o  -I./img_RW
In file included from image.h:11,
                 from ras_ftg.cc:12:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
ras_ftg.cc: In function 'long int SchCount3d2x3a(Raster2DAbstract&, Raster2DAbstract&, uint8_t, uint16_t&, uint8_t (&)[256])':
ras_ftg.cc:437:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  437 |  for(y=0;y<=obr.Size2D-2;y++)           //main row loop
      |          ~^~~~~~~~~~~~~~
ras_ftg.cc:473:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  473 |    for(x=0;x<=obr.Size1D-2;x++)
      |            ~^~~~~~~~~~~~~~
ras_ftg.cc: In function 'void UnPackSizes(bits_t*, uint8_t*, unsigned int, short int)':
ras_ftg.cc:1156:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1156 | while(i<=MaxItems)
      |       ~^~~~~~~~~~
ras_ftg.cc:1184:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1184 |     for(i=1;i<=MaxItems;i++)
      |             ~^~~~~~~~~~
ras_ftg.cc: In function 'Image LoadPictureFTG(const char*)':
ras_ftg.cc:1333:70: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
 1333 |                 if(fread(RasRead->GetRow(y),1,ldblk,NewImage.ImgFile)!=ldblk)
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ras_ftg.cc:1402:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1402 |                  while(y<PlaneX->Size2D)
      |                        ~^~~~~~~~~~~~~~~
ras_ftg.cc:1407:27: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
 1407 |                    if(NewX>=PlaneX->GetSize1D()-1)
      |                       ~~~~^~~~~~~~~~~~~~~~~~~~~~~
ras_ftg.cc:1409:32: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
 1409 |                      while(NewX>=PlaneX->GetSize1D())           //end of row
      |                            ~~~~^~~~~~~~~~~~~~~~~~~~~
ras_ftg.cc:1415:27: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
 1415 |                    if(NewX==PlaneX->GetSize1D()-1 && y==PlaneX->Size2D-1)
      |                       ~~~~^~~~~~~~~~~~~~~~~~~~~~~
ras_ftg.cc:1415:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1415 |                    if(NewX==PlaneX->GetSize1D()-1 && y==PlaneX->Size2D-1)
      |                                                      ~^~~~~~~~~~~~~~~~~~
ras_ftg.cc:1421:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1421 |                  if(y<=PlaneX->Size2D-1) PlaneX->SetValue2D((int)NewX,y,1);
      |                     ~^~~~~~~~~~~~~~~~~~
ras_ftg.cc:1424:37: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
 1424 |                  if((NewX!=0)&&(NewX!=PlaneX->GetSize1D()-1))
      |                                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~
ras_ftg.cc:1441:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1441 |                else for(y=0;y<RasRead->Size2D;y++)      //plane is stored uncompressed
      |                             ~^~~~~~~~~~~~~~~~
ras_ftg.cc:1477:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1477 |              for(i=0;i<Palette->Size1D;i++)
      |                      ~^~~~~~~~~~~~~~~~
ras_ftg.cc: In function 'int SavePictureFTG(const char*, const Image&)':
ras_ftg.cc:1648:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1648 |      for(y=0; y<RasWr->Size2D; y++)                     //no compression mode
      |               ~^~~~~~~~~~~~~~
ras_ftg.cc:1717:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1717 |                         for(y=0; y<PlaneX->Size2D; y++)
      |                                  ~^~~~~~~~~~~~~~~
ras_ftg.cc:1722:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1722 |                           for(x=0; x<PlaneX->GetSize1D(); x++)
      |                                    ~^~~~~~~~~~~~~~~~~~~~
ras_ftg.cc:1841:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1841 |                  for(y=0; y<PlaneX->Size2D; y++)
      |                           ~^~~~~~~~~~~~~~~
ras_ftg.cc:1846:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1846 |                    for(x=0; x<PlaneX->GetSize1D(); x++)
      |                             ~^~~~~~~~~~~~~~~~~~~~
ras_ftg.cc:1872:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1872 |                       for(y=0;y<PlaneX->Size2D;y++)
      |                               ~^~~~~~~~~~~~~~~
ras_ftg.cc:1890:21: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1890 |    if(ObjLeader.size==~1)
      |       ~~~~~~~~~~~~~~^~~~
ras_ftg.cc:1910:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1910 |      for(x=0; x<CurrImg->Palette->Size1D; x++)
      |               ~^~~~~~~~~~~~~~~~~~~~~~~~~
In function 'long int ReadHufNum(bits_t*, const huf_rd_t*, uint8_t)',
    inlined from 'Image LoadPictureFTG(const char*)' at ras_ftg.cc:1404:36:
ras_ftg.cc:1250:3: warning: 'HufN' may be used uninitialized [-Wmaybe-uninitialized]
 1250 |  i=HprPos;
      |  ~^~~~~~~
ras_ftg.cc: In function 'Image LoadPictureFTG(const char*)':
ras_ftg.cc:1276:16: note: 'HufN' was declared here
 1276 | uint8_t isHuff,HufN,HufTblSize;
      |                ^~~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c ras_gif.cc  -o release/ras_gif.o  -I./img_RW
In file included from image.h:11,
                 from ras_gif.cc:18:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
ras_gif.cc: In function 'int SavePictureGIF(const char*, const Image&)':
ras_gif.cc:1018:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1018 |         for(int i=0; i<GlobPalette->Size1D; i++)
      |                      ~^~~~~~~~~~~~~~~~~~~~
ras_gif.cc: In function 'Image LoadPictureGIF(const char*)':
ras_gif.cc:426:36: warning: 'OldCode' may be used uninitialized [-Wmaybe-uninitialized]
  426 |                    Prefix[FreeCode]=OldCode;
      |                    ~~~~~~~~~~~~~~~~^~~~~~~~
ras_gif.cc:245:17: note: 'OldCode' was declared here
  245 | uint16_t InCode,OldCode,Code,ClearCode,OutCount,FirstFree,FreeCode,EOFCode,MaxCode;
      |                 ^~~~~~~
ras_gif.cc:406:44: warning: 'FinChar' may be used uninitialized [-Wmaybe-uninitialized]
  406 |                          OutCode[OutCount] = FinChar;
      |                          ~~~~~~~~~~~~~~~~~~^~~~~~~~~
ras_gif.cc:246:9: note: 'FinChar' was declared here
  246 | uint8_t FinChar,BitMask,CodeSize,InitCodeSize;
      |         ^~~~~~~
In member function 'uint16_t ABitStream::Read_N(uint8_t)',
    inlined from 'Image LoadPictureGIF(const char*)' at ras_gif.cc:380:24:
ras_gif.cc:124:22: warning: 'bit.GIFBitStream::<unnamed>.ABitStream::BitBuf' may be used uninitialized [-Wmaybe-uninitialized]
  124 |      BitBuf = BitBuf >> 8;
      |               ~~~~~~~^~~~
ras_gif.cc: In function 'Image LoadPictureGIF(const char*)':
ras_gif.cc:251:14: note: 'bit.GIFBitStream::<unnamed>.ABitStream::BitBuf' was declared here
  251 | GIFBitStream bit;
      |              ^~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c rasterut.cc  -o release/rasterut.o  -I./img_RW
In file included from rasterut.cc:15:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c error.cc  -o release/error.o  -I./img_RW
In file included from error.cc:5:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c filehnd.cc  -o release/filehnd.o  -I./img_RW
In file included from image.h:11,
                 from filehnd.cc:10:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c imageop.cc  -o release/imageop.o  -I./img_RW
In file included from image.h:11,
                 from imageop.cc:15:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
In file included from imageop.cc:20:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
imageop.cc: In function 'Image Mask(Image*, int)':
imageop.cc:207:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  207 |        if(y2>=pImOut->Raster->Size2D) y2 = pImOut->Raster->Size2D - 1;
      |           ~~^~~~~~~~~~~~~~~~~~~~~~~~
imageop.cc:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   26 |  #define MIN(a,b) ((a)<(b) ? (a) : (b))
      |                    ~~~^~~~
imageop.cc:228:11: note: in expansion of macro 'MIN'
  228 |      x2 = MIN(x1+size,ptrLineB.GetSize1D()-1);
      |           ^~~
imageop.cc:239:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  239 |        if(x2<ptrLineB.GetSize1D()-1) SptrAr++;
      |           ~~^~~~~~~~~~~~~~~~~~~~~~~
imageop.cc: In function 'Image Median(const Image&, int)':
imageop.cc:468:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  468 |    for(i=0; i<im_in.Raster->Size1D; i++)                // main filter loop
      |             ~^~~~~~~~~~~~~~~~~~~~~
imageop.cc:496:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  496 |      for(j=0; j<im_in.Raster->Size2D; j++)
      |               ~^~~~~~~~~~~~~~~~~~~~~
imageop.cc:524:48: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  524 |        pRowLine = im_in.Raster->GetRowRaster((y>=im_in.Raster->Size2D)?(im_in.Raster->Size2D-1):y);
      |                                               ~^~~~~~~~~~~~~~~~~~~~~~
imageop.cc: In function 'void GausFunc(Raster2DAbstract*, unsigned char, unsigned char)':
imageop.cc:779:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  779 |     for(I=0; I<R3L.Size2D; I++)
      |              ~^~~~~~~~~~~
imageop.cc:806:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  806 |       else if(YI>=obr->Size2D) I=obr->Size2D-1;
      |               ~~^~~~~~~~~~~~~
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c img_tool.c  -o release/img_tool.o 
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c vecimage.cc  -o release/vecimage.o  -I./img_RW
In file included from vecimage.cc:14:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
In file included from image.h:11,
                 from vecimage.h:12,
                 from vecimage.cc:16:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
vecimage.h:354:16: warning: 'virtual void VectorList::Export2EPS(FILE*, PS_State*) const' was hidden [-Woverloaded-virtual=]
  354 |   virtual void Export2EPS(FILE *F, PS_State *PSS=NULL) const;
      |                ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
vecimage.h:353:23: warning: 'virtual string VectorList::Export2EPS(PS_State*) const' was hidden [-Woverloaded-virtual=]
  353 |   virtual temp_string Export2EPS(PS_State *PSS=NULL) const;
      |                       ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
In file included from vecimage.cc:17:
./atoms/include/arith.h: In function 'bool IsInf(float)':
./atoms/include/arith.h:80:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   80 | #define IsInfF(floatptr) (((*(uint32_t *)(floatptr)) & EXPONENT_MASK)==EXPONENT_MASK && ((*(uint32_t*)(floatptr)) & MANTISA_MASK)==0)
      |                              ^~~~~~~~~~~~~~~~~~~~~~
./atoms/include/arith.h:180:43: note: in expansion of macro 'IsInfF'
  180 |  inline bool IsInf(const float f) {return IsInfF(&f);}
      |                                           ^~~~~~
./atoms/include/arith.h:80:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   80 | #define IsInfF(floatptr) (((*(uint32_t *)(floatptr)) & EXPONENT_MASK)==EXPONENT_MASK && ((*(uint32_t*)(floatptr)) & MANTISA_MASK)==0)
      |                                                                                            ^~~~~~~~~~~~~~~~~~~~~
./atoms/include/arith.h:180:43: note: in expansion of macro 'IsInfF'
  180 |  inline bool IsInf(const float f) {return IsInfF(&f);}
      |                                           ^~~~~~
vecimage.cc: In destructor 'virtual VectorRectangle::~VectorRectangle()':
vecimage.cc:687:8: warning: deleting object of abstract class type 'AbstractTransformXY' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  687 |       {delete(Tx); Tx=NULL;}
      |        ^~~~~~~~~~
vecimage.cc: In member function 'virtual void VectorRectangle::Transform(const AbstractTransformXY&)':
vecimage.cc:772:5: warning: deleting object of abstract class type 'AbstractTransformXY' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  772 |     delete Tx;
      |     ^~~~~~~~~
vecimage.cc: In member function 'virtual string VectorCurve::Export2EPS(PS_State*) const':
vecimage.cc:1245:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1245 |       if(*p<MinPolyX) MinPolyX=*p;      if(*p>MaxPolyX) MaxPolyX=*p;
      |       ^~
vecimage.cc:1245:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1245 |       if(*p<MinPolyX) MinPolyX=*p;      if(*p>MaxPolyX) MaxPolyX=*p;
      |                                         ^~
vecimage.cc:1246:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1246 |       if(p[1]<MinPolyY) MinPolyY=p[1];  if(p[1]>MaxPolyY) MaxPolyY=p[1];
      |       ^~
vecimage.cc:1246:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1246 |       if(p[1]<MinPolyY) MinPolyY=p[1];  if(p[1]>MaxPolyY) MaxPolyY=p[1];
      |                                         ^~
vecimage.cc:1248:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1248 |       if(p[2]<MinPolyX) MinPolyX=p[2];  if(p[2]>MaxPolyX) MaxPolyX=p[2];
      |       ^~
vecimage.cc:1248:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1248 |       if(p[2]<MinPolyX) MinPolyX=p[2];  if(p[2]>MaxPolyX) MaxPolyX=p[2];
      |                                         ^~
vecimage.cc:1249:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1249 |       if(p[3]<MinPolyY) MinPolyY=p[3];  if(p[3]>MaxPolyY) MaxPolyY=p[3];
      |       ^~
vecimage.cc:1249:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1249 |       if(p[3]<MinPolyY) MinPolyY=p[3];  if(p[3]>MaxPolyY) MaxPolyY=p[3];
      |                                         ^~
vecimage.cc:1251:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1251 |       if(p[4]<MinPolyX) MinPolyX=p[4];  if(p[4]>MaxPolyX) MaxPolyX=p[4];
      |       ^~
vecimage.cc:1251:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1251 |       if(p[4]<MinPolyX) MinPolyX=p[4];  if(p[4]>MaxPolyX) MaxPolyX=p[4];
      |                                         ^~
vecimage.cc:1252:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1252 |       if(p[5]<MinPolyY) MinPolyY=p[5];  if(p[5]>MaxPolyY) MaxPolyY=p[5];
      |       ^~
vecimage.cc:1252:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1252 |       if(p[5]<MinPolyY) MinPolyY=p[5];  if(p[5]>MaxPolyY) MaxPolyY=p[5];
      |                                         ^~
vecimage.cc:1263:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1263 |       if(*p<MinPolyX) MinPolyX=*p;      if(*p>MaxPolyX) MaxPolyX=*p;
      |       ^~
vecimage.cc:1263:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1263 |       if(*p<MinPolyX) MinPolyX=*p;      if(*p>MaxPolyX) MaxPolyX=*p;
      |                                         ^~
vecimage.cc:1264:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1264 |       if(p[1]<MinPolyY) MinPolyY=p[1];  if(p[1]>MaxPolyY) MaxPolyY=p[1];
      |       ^~
vecimage.cc:1264:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1264 |       if(p[1]<MinPolyY) MinPolyY=p[1];  if(p[1]>MaxPolyY) MaxPolyY=p[1];
      |                                         ^~
vecimage.cc:1266:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1266 |       if(p[2]<MinPolyX) MinPolyX=p[2];  if(p[2]>MaxPolyX) MaxPolyX=p[2];
      |       ^~
vecimage.cc:1266:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1266 |       if(p[2]<MinPolyX) MinPolyX=p[2];  if(p[2]>MaxPolyX) MaxPolyX=p[2];
      |                                         ^~
vecimage.cc:1267:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1267 |       if(p[3]<MinPolyY) MinPolyY=p[3];  if(p[3]>MaxPolyY) MaxPolyY=p[3];
      |       ^~
vecimage.cc:1267:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1267 |       if(p[3]<MinPolyY) MinPolyY=p[3];  if(p[3]>MaxPolyY) MaxPolyY=p[3];
      |                                         ^~
vecimage.cc:1271:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1271 |       if(xt_old<MinPolyX) MinPolyX=xt_old;      if(xt_old>MaxPolyX) MaxPolyX=xt_old;
      |       ^~
vecimage.cc:1271:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1271 |       if(xt_old<MinPolyX) MinPolyX=xt_old;      if(xt_old>MaxPolyX) MaxPolyX=xt_old;
      |                                                 ^~
vecimage.cc:1272:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1272 |       if(yt_old<MinPolyY) MinPolyY=yt_old;      if(yt_old>MaxPolyY) MaxPolyY=yt_old;
      |       ^~
vecimage.cc:1272:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1272 |       if(yt_old<MinPolyY) MinPolyY=yt_old;      if(yt_old>MaxPolyY) MaxPolyY=yt_old;
      |                                                 ^~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c vecraster.cc  -o release/vecraster.o  -I./img_RW
In file included from image.h:11,
                 from vecimage.h:12,
                 from vecraster.cc:15:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
vecimage.h:354:16: warning: 'virtual void VectorList::Export2EPS(FILE*, PS_State*) const' was hidden [-Woverloaded-virtual=]
  354 |   virtual void Export2EPS(FILE *F, PS_State *PSS=NULL) const;
      |                ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
vecimage.h:353:23: warning: 'virtual string VectorList::Export2EPS(PS_State*) const' was hidden [-Woverloaded-virtual=]
  353 |   virtual temp_string Export2EPS(PS_State *PSS=NULL) const;
      |                       ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
vecraster.cc: In member function 'virtual void VectorRaster::FeaturesEPS(uint32_t&) const':
vecraster.cc:150:8: warning: enumeration value 'ImageNone' not handled in switch [-Wswitch]
  150 |  switch(ImageType())
      |        ^
vecraster.cc:150:8: warning: enumeration value 'ImageGray' not handled in switch [-Wswitch]
vecraster.cc:150:8: warning: enumeration value 'ImagePaletteF' not handled in switch [-Wswitch]
vecraster.cc:150:8: warning: enumeration value 'ImageReal' not handled in switch [-Wswitch]
vecraster.cc:150:8: warning: enumeration value 'ImageSigned' not handled in switch [-Wswitch]
In member function 'void VectorRaster::AttachRaster(Raster2DAbstract*)',
    inlined from 'VectorRaster::VectorRaster(const VectorRaster&)' at vecraster.cc:100:15,
    inlined from 'virtual VectorObject* VectorRaster::Duplicate() const' at vecraster.cc:114:32:
vecraster.cc:120:6: warning: '*(VectorRaster*)<unknown>.VectorRaster::Raster' is used uninitialized [-Wuninitialized]
  120 |   if(Raster==NewRaster) return;         // Raster is already attached
      |      ^~~~~~
In member function 'void VectorRaster::AttachRaster(Raster2DAbstract*)',
    inlined from 'VectorRaster::VectorRaster(const VectorRaster&)' at vecraster.cc:100:15:
vecraster.cc:120:6: warning: '*this.VectorRaster::Raster' is used uninitialized [-Wuninitialized]
  120 |   if(Raster==NewRaster) return;         // Raster is already attached
      |      ^~~~~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c img_futi.cc  -o release/img_futi.o  -I./img_RW
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c mor_tool.cc  -o release/mor_tool.o  -I./img_RW
In file included from mor_tool.cc:13:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
mor_tool.cc: In function 'void Dilatation(Raster2DAbstract*, uint16_t)':
mor_tool.cc:46:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   46 |       if(i>0 && i<Obr->Size2D) BufData=Obr->GetRow(i);  // processing next row
      |                 ~^~~~~~~~~~~~
mor_tool.cc:90:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   90 |       if(i>0 && i<Obr->Size2D)
      |                 ~^~~~~~~~~~~~
mor_tool.cc: In function 'void Erosion(Raster2DAbstract*, uint16_t)':
mor_tool.cc:151:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  151 |       if(i>0 && i<Obr->Size2D) BufData=Obr->GetRow(i);  // processing next row
      |                 ~^~~~~~~~~~~~
mor_tool.cc:193:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  193 |       if(i>0 && i<Obr->Size2D)
      |                 ~^~~~~~~~~~~~
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c rasterOp.c  -o release/rasterOp.o 
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c imgut.cc  -o release/imgut.o  -I./img_RW
In file included from image.h:11,
                 from imgut.cc:16:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
In file included from imgut.cc:17:
vecimage.h:354:16: warning: 'virtual void VectorList::Export2EPS(FILE*, PS_State*) const' was hidden [-Woverloaded-virtual=]
  354 |   virtual void Export2EPS(FILE *F, PS_State *PSS=NULL) const;
      |                ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
vecimage.h:353:23: warning: 'virtual string VectorList::Export2EPS(PS_State*) const' was hidden [-Woverloaded-virtual=]
  353 |   virtual temp_string Export2EPS(PS_State *PSS=NULL) const;
      |                       ^~~~~~~~~~
vecimage.h:582:8: note:   by 'void VectorImage::Export2EPS(FILE*)'
  582 |   void Export2EPS(FILE *F) {PSS.LineJoin=PSS.LineCap=0;VectorList::Export2EPS(F,&PSS);}
      |        ^~~~~~~~~~
imgut.cc: In function 'int GrayPalette(APalette*, int)':
imgut.cc:499:12: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
  499 |  if(Planes >= sizeof(PalItems)*8) return 0; // Shift operation will overflow, consider image to be color.
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
imgut.cc: In function 'void AutoOrient(Image*)':
imgut.cc:883:16: warning: variable 'Field' set but not used [-Wunused-but-set-variable]
  883 |       uint16_t Field;
      |                ^~~~~
imgut.cc:884:16: warning: variable 'Long2' set but not used [-Wunused-but-set-variable]
  884 |       uint32_t Long2, Value;
      |                ^~~~~
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c imgop.c  -o release/imgop.o 
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c bitstrea.c  -o release/bitstrea.o 
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c quantise.cc  -o release/quantise.o  -I./img_RW
In file included from quantise.cc:13:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
quantise.cc: In function 'APalette* FindIndices(Raster2DAbstract*, unsigned int)':
quantise.cc:106:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  106 |  for(unsigned z=0; z<OctTree.Size3D; z++)
      |  ^~~
quantise.cc:116:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  116 |   OctTree.Erase();
      |   ^~~~~~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c quantise2.cc  -o release/quantise2.o  -I./img_RW
In file included from quantise2.cc:37:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
quantise2.cc: In member function 'void OctElement2::Add(const RGBQuad&)':
quantise2.cc:398:20: warning: comparison of integer expressions of different signedness: 'const uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  398 |           if(RGB.R > MinR+(MaxR-MinR)/2) i|=1;
      |              ~~~~~~^~~~~~~~~~~~~~~~~~~~
quantise2.cc:399:20: warning: comparison of integer expressions of different signedness: 'const uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  399 |           if(RGB.G > MinG+(MaxG-MinG)/2) i|=2;
      |              ~~~~~~^~~~~~~~~~~~~~~~~~~~
quantise2.cc:400:20: warning: comparison of integer expressions of different signedness: 'const uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
  400 |           if(RGB.B > MinB+(MaxB-MinB)/2) i|=4;
      |              ~~~~~~^~~~~~~~~~~~~~~~~~~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/mtx_impl.cc  -o release/mtx_impl.o 
In file included from atoms/matrix.cc:14,
                 from atoms/mtx_impl.cc:11:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
echo cygwin
cygwin
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/struct.c  -o release/struct.o 
atoms/struct.c: In function 'savestruct':
atoms/struct.c:518:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  518 |               writed += WrDWORD_LoEnd(*(uint32_t*)&f,F);}
      |                                        ^~~~~~~~~~~~~
atoms/struct.c:521:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  521 |               writed += WrDWORD_HiEnd(*(uint32_t*)&f,F);}
      |                                        ^~~~~~~~~~~~~
atoms/struct.c:539:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  539 |               writed+=WrQWORD_LoEnd(*(QWORD_*)&e,F);}
      |                                      ^~~~~~~~~~~
atoms/struct.c:542:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  542 |               writed+=WrQWORD_HiEnd(*(QWORD_*)&e,F);}
      |                                      ^~~~~~~~~~~
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/matrix.cc  -o release/matrix.o 
In file included from atoms/matrix.cc:14:
./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   89 |       friend temp_matrix<FLOAT> operator- FIX(const matrix & m);
      |                                                               ^
./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   92 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix<FLOAT> operator+(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   94 |       friend temp_matrix<FLOAT> operator+ FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const FLOAT&)' declares a non-template function [-Wnon-template-friend]
   95 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const FLOAT &);
      |                                                                            ^
./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix<FLOAT> operator-(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   96 |       friend temp_matrix<FLOAT> operator- FIX(const FLOAT &, const matrix &);
      |                                                                            ^
./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix<FLOAT> operator-(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
   97 |       friend temp_matrix<FLOAT> operator- FIX(const matrix &, const matrix &);
      |                                                                             ^
./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix<FLOAT> operator/(const FLOAT&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  102 |       friend temp_matrix<FLOAT> operator/ FIX(const FLOAT &f, const matrix &m);
      |                                                                              ^
./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix<FLOAT> operator/(const matrix<FLOAT>&, const matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  103 |       friend temp_matrix<FLOAT> operator/ FIX(const matrix &m1, const matrix &m2);
      |                                                                                 ^
./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix<FLOAT> transpose(matrix<FLOAT>&)' declares a non-template function [-Wnon-template-friend]
  125 |       friend temp_matrix<FLOAT> transpose FIX( matrix  & m );
      |                                                            ^
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/raster.cc  -o release/raster.o 
In file included from atoms/raster.cc:18:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
atoms/raster.cc: In member function 'virtual void Raster1D_32FltBit::Get(Raster1DAbstract&) const':
atoms/raster.cc:1872:17: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
 1872 |       for(i=0; i<Size1D; i++)
      |                ~^~~~~~~
atoms/raster.cc:1880:14: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
 1880 |     for(i=0;i<Size1D;i++)
      |             ~^~~~~~~
atoms/raster.cc: In member function 'virtual void Raster1D_32FltBit::Set(const Raster1DAbstract&)':
atoms/raster.cc:1908:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1908 |       for(i=0; i<Size1D; i++)
      |                ~^~~~~~~
atoms/raster.cc:1915:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1915 |     for(i=0; i<Size1D; i++)
      |              ~^~~~~~~
echo cygwin
cygwin
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/rasterc.c  -o release/rasterc.o 
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/std_str.cc  -o release/std_str.o 
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/strings.cc  -o release/strings.o 
atoms/strings.cc: In function 'string del(const string&, int, int)':
atoms/strings.cc:799:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  799 |  if(length(s)<from+len) len=length(s)-from;
      |     ~~~~~~~~~^~~~~~~~~
atoms/strings.cc:801:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  801 |  if((from>=length(s))||(len<0)||(from<0)||(length(s)==0))
      |      ~~~~^~~~~~~~~~~
echo cygwin
cygwin
gcc -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c atoms/xlat_swp.c  -o release/xlat_swp.o 
ar rcs release/libpictures.a release/gconvert.o release/filter.o release/gcomp.o release/histfix.o release/ras_img.o release/ras_bmp.o release/ras_ftg.o release/ras_gif.o release/rasterut.o release/error.o release/filehnd.o release/imageop.o release/img_tool.o release/vecimage.o release/vecraster.o release/img_futi.o release/mor_tool.o release/rasterOp.o release/imgut.o release/imgop.o release/bitstrea.o release/quantise.o release/quantise2.o release/mtx_impl.o release/struct.o release/matrix.o release/raster.o release/rasterc.o release/std_str.o release/strings.o release/xlat_swp.o
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c imgsupp.cc  -o release/imgsuppRW.o  -I./img_RW
In file included from image.h:11,
                 from imgsupp.cc:5:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
g++ -o ../bin/generic/gconvert release/gconvert.o release/imgsuppRW.o release/libpictures.a -lintl  -lpthread -fopenmp
g++ -o ../bin/generic/filter release/filter.o release/imgsuppRW.o release/libpictures.a -lintl  -lpthread -fopenmp
echo cygwin
cygwin
g++ -g -O2 -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -fopenmp -O2 -Wall -I./atoms/include/ -I./atoms/ -DERROR_HANDLER -DOPTIMISE_SPEED -DRasImg -DRASTER_3D -O6 -c imgsupp.cc  -o release/imgsuppRO.o  -I./img_RO
In file included from image.h:11,
                 from imgsupp.cc:5:
./atoms/include/raster.h:322:22: warning: 'virtual void Raster1DAbstract::PTR_Set(void*, const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  322 |         virtual void PTR_Set(void *RAW_Data1D, const Raster1DAbstract &R1);
      |                      ^~~~~~~
./atoms/include/raster.h:442:14: note:   by 'void Raster2DAbstract::PTR_Set(void**, unsigned int, const Raster1DAbstract&)'
  442 |         void PTR_Set(void **RAW_Data2D, unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~~~~~
./atoms/include/raster.h:321:22: warning: 'virtual void Raster1DAbstract::PTR_Get(const void*, Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  321 |         virtual void PTR_Get(const void *RAW_Data1D, Raster1DAbstract &R1) const;
      |                      ^~~~~~~
./atoms/include/raster.h:441:14: note:   by 'void Raster2DAbstract::PTR_Get(const void**, unsigned int, Raster1DAbstract&) const'
  441 |         void PTR_Get(const void **RAW_Data2D, unsigned Offset2D, Raster1DAbstract &R1) const;
      |              ^~~~~~~
./atoms/include/raster.h:299:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=]
  299 |         virtual void Get(Raster1DAbstract &R1) const;
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:291:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=]
  291 |         virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);};
      |                      ^~~
./atoms/include/raster.h:426:14: note:   by 'Raster2DAbstract::Get'
  426 |         void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:303:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=]
  303 |         virtual void Set(const Raster1DAbstract &R1);
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:290:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  290 |         virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);};
      |                      ^~~
./atoms/include/raster.h:427:14: note:   by 'Raster2DAbstract::Set'
  427 |         void Set(unsigned Offset2D, const Raster1DAbstract &R1);
      |              ^~~
./atoms/include/raster.h:346:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=]
  346 |   virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));}
      |                    ^
./atoms/include/raster.h:458:18: note:   by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)'
  458 |         uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));}
      |                  ^
./atoms/include/raster.h:345:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=]
  345 |   virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));}
      |                    ^
./atoms/include/raster.h:457:18: note:   by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)'
  457 |         uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));}
      |                  ^
./atoms/include/raster.h:344:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=]
  344 |   virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));}
      |                    ^
./atoms/include/raster.h:456:18: note:   by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)'
  456 |         uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));}
      |                  ^
./atoms/include/raster.h:421:22: warning: 'virtual void Raster2DAbstract::Get(unsigned int, unsigned int, RGBQuad*)' was hidden [-Woverloaded-virtual=]
  421 |         virtual void Get(unsigned Offset1D, unsigned Offset2D, RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:529:14: note:   by 'void Raster3DAbstract::Get(unsigned int, unsigned int, Raster1DAbstract&) const'
  529 |         void Get(unsigned Offset2D, unsigned Offset3D, Raster1DAbstract &R1) MP_CONST;
      |              ^~~
./atoms/include/raster.h:422:22: warning: 'virtual void Raster2DAbstract::Set(unsigned int, unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=]
  422 |         virtual void Set(unsigned Offset1D, unsigned Offset2D, const RGBQuad *RGB);
      |                      ^~~
./atoms/include/raster.h:530:14: note:   by 'void Raster3DAbstract::Set(unsigned int, unsigned int, const Raster1DAbstract&)'
  530 |         void Set(unsigned Offset2D, unsigned Offset3D, const Raster1DAbstract &R1);
      |              ^~~
g++ -o ../bin/generic/gcomp release/gcomp.o release/imgsuppRO.o release/libpictures.a -lintl  -lpthread -fopenmp
g++ -o ../bin/generic/histfix release/histfix.o release/imgsuppRO.o release/libpictures.a -lintl  -lpthread -fopenmp
make[1]: Leaving directory '/z/prog/obrazky/final/src.cpp'
